package com.inctech.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inctech.dao.ICountVisitorDAO;
import com.inctech.service.ICountVisitorService;

@Service("countVisitorService")
public class CountVisitorServiceImpl implements ICountVisitorService {
	@Autowired
	private ICountVisitorDAO dao;
	
	@Override
	public void add() {
		dao.add();
	}
	
	@Override
	public int getTotalCount() {
		return dao.getTotalCount();
	}
}
